package com.demo;

import com.demo.interfaces.IFruit;

public class Strawberry implements IFruit {

    @Override
    public int getTotalPrice(int unitPrice,int weight,int discount) {
        return (int) Math.ceil(unitPrice*weight*(discount*0.1));
    }

}
